package com.ztesoft.web.common.db.po;

import java.util.*;
import org.apache.commons.lang.StringUtils;
import com.ztesoft.framework.dto.AbstractDto;

public class DbUserInfoPO extends AbstractDto{
	private Integer  dbUserId;
	private Integer  dbLinkId;
	private String  dbUserName;
	private String  dbPassword;
	private Integer  dbEncryptType;
	private String  state;
	private Date  stateDate;
	private Date  createDate;
    public void setDbUserId(Integer dbUserId) {
        this.dbUserId = dbUserId;
    }
    public Integer getDbUserId() {
        return dbUserId;
    }
    public void setDbLinkId(Integer dbLinkId) {
        this.dbLinkId = dbLinkId;
    }
    public Integer getDbLinkId() {
        return dbLinkId;
    }
    public void setDbUserName(String dbUserName) {
        this.dbUserName = dbUserName;
    }

    public String getDbUserName() {
        return StringUtils.isBlank(dbUserName) ? dbUserName : dbUserName.trim();
    }
    public void setDbPassword(String dbPassword) {
        this.dbPassword = dbPassword;
    }

    public String getDbPassword() {
        return StringUtils.isBlank(dbPassword) ? dbPassword : dbPassword.trim();
    }
    public void setDbEncryptType(Integer dbEncryptType) {
        this.dbEncryptType = dbEncryptType;
    }
    public Integer getDbEncryptType() {
        return dbEncryptType;
    }
    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return StringUtils.isBlank(state) ? state : state.trim();
    }
    public void setStateDate(Date stateDate) {
        this.stateDate = stateDate;
    }

    public Date getStateDate() {
        return stateDate;
    }
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getCreateDate() {
        return createDate;
    }
}